Instructions to use remshu-inc/mencoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use remshu-inc/mencoder with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="remshu-inc/mencoder")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("remshu-inc/mencoder") model = AutoModelForSequenceClassification.from_pretrained("remshu-inc/mencoder", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download modeldata.json from remshu-inc/mencoder: direct link, hf CLI and curl.
- Browser
- Download file 97 Bytes
-
https://huggingface.co/remshu-inc/mencoder/resolve/refs%2Fpr%2F2/modeldata.json
- Command line
-
hf download hf://remshu-inc/mencoder@refs/pr/2/modeldata.json
-
curl -L -o modeldata.json https://huggingface.co/remshu-inc/mencoder/resolve/refs%2Fpr%2F2/modeldata.json
97 Bytes
| {"modelType": "CrossEncoder", "device": "cuda:0", "score1": 0.98, "score2": 0.93, "score3": 0.87} |