Update README.md
Browse files
README.md
CHANGED
@@ -40,7 +40,7 @@ To be added.
|
|
40 |
pip install transformers torch datasets
|
41 |
```
|
42 |
```python
|
43 |
-
classifier = pipeline("zero-shot-classification", "
|
44 |
sequence_to_classify = "I want to be an actor."
|
45 |
candidate_labels = ["space", "economy", "entertainment"]
|
46 |
output = classifier(sequence_to_classify, candidate_labels, multi_label=False)
|
@@ -51,7 +51,7 @@ print(output)
|
|
51 |
## Model Card
|
52 |
|
53 |
- **Model Name**: ModernBERT-large-zeroshot-v1
|
54 |
-
- **Hugging Face Repo**: [
|
55 |
- **License**: MIT (or another applicable license)
|
56 |
- **Date**: 23-12-2024
|
57 |
|
|
|
40 |
pip install transformers torch datasets
|
41 |
```
|
42 |
```python
|
43 |
+
classifier = pipeline("zero-shot-classification", "r-f/ModernBERT-large-zeroshot-v1")
|
44 |
sequence_to_classify = "I want to be an actor."
|
45 |
candidate_labels = ["space", "economy", "entertainment"]
|
46 |
output = classifier(sequence_to_classify, candidate_labels, multi_label=False)
|
|
|
51 |
## Model Card
|
52 |
|
53 |
- **Model Name**: ModernBERT-large-zeroshot-v1
|
54 |
+
- **Hugging Face Repo**: [r-f/ModernBERT-large-zeroshot-v1](https://huggingface.co/rob-field1/ModernBERT-large-zeroshot-v1)
|
55 |
- **License**: MIT (or another applicable license)
|
56 |
- **Date**: 23-12-2024
|
57 |
|