Instructions to use bertin-project/bertin-roberta-base-spanish with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bertin-project/bertin-roberta-base-spanish with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="bertin-project/bertin-roberta-base-spanish")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("bertin-project/bertin-roberta-base-spanish") model = AutoModelForMaskedLM.from_pretrained("bertin-project/bertin-roberta-base-spanish", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Remove unused imports
Browse files- tsne_plot.py +0 -2
tsne_plot.py
CHANGED
|
@@ -9,8 +9,6 @@ from bokeh.models import ColumnDataSource, HoverTool
|
|
| 9 |
from bokeh.plotting import figure, output_file, save
|
| 10 |
from bokeh.transform import factor_cmap
|
| 11 |
from bokeh.palettes import Cividis256 as Pallete
|
| 12 |
-
from bokeh.resources import CDN
|
| 13 |
-
from bokeh.embed import file_html
|
| 14 |
from sklearn.manifold import TSNE
|
| 15 |
|
| 16 |
|
|
|
|
| 9 |
from bokeh.plotting import figure, output_file, save
|
| 10 |
from bokeh.transform import factor_cmap
|
| 11 |
from bokeh.palettes import Cividis256 as Pallete
|
|
|
|
|
|
|
| 12 |
from sklearn.manifold import TSNE
|
| 13 |
|
| 14 |
|