Instructions to use msislam/code-mixed-language-detection-XLMRoberta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use msislam/code-mixed-language-detection-XLMRoberta with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="msislam/code-mixed-language-detection-XLMRoberta")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("msislam/code-mixed-language-detection-XLMRoberta") model = AutoModelForTokenClassification.from_pretrained("msislam/code-mixed-language-detection-XLMRoberta") - Notebooks
- Google Colab
- Kaggle
Code to run it on my side
#3
by Rrila - opened
Hey! im doing a test on my side using the model card code, but for some reason the output is not as good as the one i see in here. Would you kindly share with me the python code behind this so i can run a quick Google Colab with the parameters you used?
Hi! I will upload the code and add the link to the model description very soon.
msislam changed discussion status to closed