How to use Maslionok/lang-detect with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Maslionok/lang-detect", trust_remote_code=True, dtype="auto")