Token Classification
Transformers
langident
language-identification
multilingual
historical
impresso
custom_code
Instructions to use impresso-project/language-identifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use impresso-project/language-identifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="impresso-project/language-identifier", trust_remote_code=True)# Load model directly from transformers import AutoModelForTokenClassification model = AutoModelForTokenClassification.from_pretrained("impresso-project/language-identifier", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "_name_or_path": "impresso-project/impresso-langident", | |
| "architectures": ["LangDetectorModel"], | |
| "filename": "langident-v1.0.0.bin", | |
| "attention_probs_dropout_prob": 0.1, | |
| "auto_map": { | |
| "AutoConfig": "configuration_lang.ImpressoConfig", | |
| "AutoModelForTokenClassification": "modeling_lang.LangDetectorModel" | |
| }, | |
| "custom_pipelines": { | |
| "langident": { | |
| "impl": "langident.LangDetectionPipeline", | |
| "pt": "AutoModelForTokenClassification" | |
| } | |
| }, | |
| "model_type": "langident", | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.49.0" | |
| } | |