Feature Extraction
sentence-transformers
Safetensors
Transformers
English
qwen3
text-embeddings-inference
Run this model with HF Jobs
Run codefuse-ai/F2LLM-1.7B 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/codefuse-ai/F2LLM-1.7B. 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/codefuse-ai/F2LLM-1.7B 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 codefuse-ai/F2LLM-1.7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use codefuse-ai/F2LLM-1.7B with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("codefuse-ai/F2LLM-1.7B") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Transformers
How to use codefuse-ai/F2LLM-1.7B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="codefuse-ai/F2LLM-1.7B")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("codefuse-ai/F2LLM-1.7B") model = AutoModel.from_pretrained("codefuse-ai/F2LLM-1.7B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from codefuse-ai/F2LLM-1.7B: direct link, hf CLI and curl.
- Browser
- Download file 11.4 MB
-
https://huggingface.co/codefuse-ai/F2LLM-1.7B/resolve/93701ce7edd5ab9806f237b5734e981a8a6ffeb0/tokenizer.json
- Command line
-
hf download hf://codefuse-ai/F2LLM-1.7B@93701ce7edd5ab9806f237b5734e981a8a6ffeb0/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/codefuse-ai/F2LLM-1.7B/resolve/93701ce7edd5ab9806f237b5734e981a8a6ffeb0/tokenizer.json
11.4 MB
- Xet hash:
- 693ec4b3922b0bd306bf7b4989e115ffbfeb7b0c08b31bc6d956818c6bb07f61
- Size of remote file:
- 11.4 MB
- SHA256:
- aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.