Feature Extraction
Transformers
PyTorch
Vietnamese
xlm-roberta
vietnamese
contrastive-learning
sentence-embedding
natural-language-inference
low-resource
nlu
Instructions to use huynhtin/ViCLSR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use huynhtin/ViCLSR with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="huynhtin/ViCLSR")# Load model directly from transformers import AutoTokenizer, XLMRobertaForCL tokenizer = AutoTokenizer.from_pretrained("huynhtin/ViCLSR") model = XLMRobertaForCL.from_pretrained("huynhtin/ViCLSR") - Notebooks
- Google Colab
- Kaggle
| {"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "</s>", "cls_token": "<s>", "pad_token": "<pad>", "mask_token": "<mask>", "use_fast": true, "model_max_length": 512, "name_or_path": "xlm-roberta-large"} |