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")
The community tab is the place to discuss and collaborate with the HF community!