Run this model with HF Jobs
Run Xenova/Nemotron-4-340B-Instruct-Tokenizer on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Xenova/Nemotron-4-340B-Instruct-Tokenizer. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Xenova/Nemotron-4-340B-Instruct-Tokenizer on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Xenova/Nemotron-4-340B-Instruct-Tokenizer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Xenova/Nemotron-4-340B-Instruct-Tokenizer with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Xenova/Nemotron-4-340B-Instruct-Tokenizer", device_map="auto") - Transformers.js
How to use Xenova/Nemotron-4-340B-Instruct-Tokenizer with Transformers.js:
// โ ๏ธ Unknown pipeline tag
- Notebooks
- Google Colab
- Kaggle
Nemotron-4-340B-Instruct Tokenizer
A ๐ค-compatible version of the Nemotron-4-340B-Instruct (adapted from nvidia/Nemotron-4-340B-Instruct). This means it can be used with Hugging Face libraries including Transformers, Tokenizers, and Transformers.js.
Example usage:
Transformers/Tokenizers
from transformers import PreTrainedTokenizerFast
tokenizer = PreTrainedTokenizerFast.from_pretrained('Xenova/Nemotron-4-340B-Instruct-Tokenizer')
assert tokenizer.encode('hello world') == [38150, 2268]
Transformers.js
import { AutoTokenizer } from '@xenova/transformers';
const tokenizer = await AutoTokenizer.from_pretrained('Xenova/Nemotron-4-340B-Instruct-Tokenizer');
const tokens = tokenizer.encode('hello world'); // [38150, 2268]
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support