Instructions to use Aya-In-Brooklyn/spaCy-roberta-workout-entity-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Aya-In-Brooklyn/spaCy-roberta-workout-entity-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Aya-In-Brooklyn/spaCy-roberta-workout-entity-model")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Aya-In-Brooklyn/spaCy-roberta-workout-entity-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Aya commited on
Commit ·
a96b0c6
1
Parent(s): 4437cb0
updated path
Browse files
README.md
CHANGED
|
@@ -78,7 +78,7 @@ Load the fine-tuned model:
|
|
| 78 |
```python
|
| 79 |
import spacy
|
| 80 |
|
| 81 |
-
nlp = spacy.load("
|
| 82 |
|
| 83 |
doc = nlp("Find me a 45 minute yoga class with Alex.")
|
| 84 |
|
|
@@ -144,7 +144,7 @@ Model is ready to be pushed to Hugging Face Hub or integrated into production sy
|
|
| 144 |
|
| 145 |
```python
|
| 146 |
import spacy
|
| 147 |
-
nlp = spacy.load("
|
| 148 |
```
|
| 149 |
|
| 150 |
---
|
|
|
|
| 78 |
```python
|
| 79 |
import spacy
|
| 80 |
|
| 81 |
+
nlp = spacy.load("Aya-In-Brooklyn/fitness_entity_extractor_ner_roberta_finetuned")
|
| 82 |
|
| 83 |
doc = nlp("Find me a 45 minute yoga class with Alex.")
|
| 84 |
|
|
|
|
| 144 |
|
| 145 |
```python
|
| 146 |
import spacy
|
| 147 |
+
nlp = spacy.load("Aya-In-Brooklyn/fitness_entity_extractor_ner_roberta_finetuned")
|
| 148 |
```
|
| 149 |
|
| 150 |
---
|