r-f commited on
Commit
1903ebe
·
verified ·
1 Parent(s): 23cfc2c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
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", "rob-field1/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,7 +51,7 @@ print(output)
51
  ## Model Card
52
 
53
  - **Model Name**: ModernBERT-large-zeroshot-v1
54
- - **Hugging Face Repo**: [rob-field1/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
 
 
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