Instructions to use Joshi-Aryan/Fine_Tuned_HF_Language_Identification_Model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Joshi-Aryan/Fine_Tuned_HF_Language_Identification_Model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Joshi-Aryan/Fine_Tuned_HF_Language_Identification_Model")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Joshi-Aryan/Fine_Tuned_HF_Language_Identification_Model") model = AutoModelForSequenceClassification.from_pretrained("Joshi-Aryan/Fine_Tuned_HF_Language_Identification_Model") - Notebooks
- Google Colab
- Kaggle
Commit ·
ceff230
1
Parent(s): f0fdb0c
Update README.md
Browse files
README.md
CHANGED
|
@@ -97,7 +97,7 @@ To use this model for language identification, you can follow these steps:
|
|
| 97 |
### Installation
|
| 98 |
To utilize this language identification model, you must install the transformers library and other essential dependencies.
|
| 99 |
<pre>
|
| 100 |
-
|
| 101 |
</pre>
|
| 102 |
|
| 103 |
### Loading the Model
|
|
|
|
| 97 |
### Installation
|
| 98 |
To utilize this language identification model, you must install the transformers library and other essential dependencies.
|
| 99 |
<pre>
|
| 100 |
+
pip install transformers datasets
|
| 101 |
</pre>
|
| 102 |
|
| 103 |
### Loading the Model
|