Instructions to use davebulaval/MeaningBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use davebulaval/MeaningBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="davebulaval/MeaningBERT")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("davebulaval/MeaningBERT") model = AutoModelForSequenceClassification.from_pretrained("davebulaval/MeaningBERT") - Inference
- Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -91,6 +91,7 @@ with torch.no_grad():
|
|
| 91 |
|
| 92 |
print(scores.logits.tolist())
|
| 93 |
```
|
|
|
|
| 94 |
or using our HuggingFace Metric module
|
| 95 |
|
| 96 |
```python
|
|
|
|
| 91 |
|
| 92 |
print(scores.logits.tolist())
|
| 93 |
```
|
| 94 |
+
|
| 95 |
or using our HuggingFace Metric module
|
| 96 |
|
| 97 |
```python
|