Update README.md
Browse files
README.md
CHANGED
@@ -40,8 +40,8 @@ Than you need to initialize a model and a pipeline:
|
|
40 |
from gliclass import GLiClassModel, ZeroShotClassificationPipeline
|
41 |
from transformers import AutoTokenizer
|
42 |
|
43 |
-
model = GLiClassModel.from_pretrained("knowledgator/gliclass-
|
44 |
-
tokenizer = AutoTokenizer.from_pretrained("knowledgator/gliclass-
|
45 |
|
46 |
pipeline = ZeroShotClassificationPipeline(model, tokenizer, classification_type='multi-label', device='cuda:0')
|
47 |
|
|
|
40 |
from gliclass import GLiClassModel, ZeroShotClassificationPipeline
|
41 |
from transformers import AutoTokenizer
|
42 |
|
43 |
+
model = GLiClassModel.from_pretrained("knowledgator/gliclass-llama-1.3B-v1.0")
|
44 |
+
tokenizer = AutoTokenizer.from_pretrained("knowledgator/gliclass-llama-1.3B-v1.0")
|
45 |
|
46 |
pipeline = ZeroShotClassificationPipeline(model, tokenizer, classification_type='multi-label', device='cuda:0')
|
47 |
|