Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

codefuse-ai
/
F2LLM-v2-330M

Feature Extraction
Transformers
Safetensors
sentence-transformers
qwen3
text-embeddings-inference
Model card Files Files and versions
xet
Community
1

Instructions to use codefuse-ai/F2LLM-v2-330M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use codefuse-ai/F2LLM-v2-330M with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="codefuse-ai/F2LLM-v2-330M")
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("codefuse-ai/F2LLM-v2-330M")
    model = AutoModel.from_pretrained("codefuse-ai/F2LLM-v2-330M")
  • sentence-transformers

    How to use codefuse-ai/F2LLM-v2-330M with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("codefuse-ai/F2LLM-v2-330M")
    
    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]
  • Notebooks
  • Google Colab
  • Kaggle
F2LLM-v2-330M
682 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 7 commits
Geralt-Targaryen's picture
Geralt-Targaryen
alex-miller-gov's picture
alex-miller-gov
Truncate layer_types to match num_hidden_layers (#1)
e8ef9a8 about 1 month ago
  • 1_Pooling
    Upload folder using huggingface_hub about 2 months ago
  • .gitattributes
    1.52 kB
    initial commit about 2 months ago
  • README.md
    7.24 kB
    Update README.md about 2 months ago
  • added_tokens.json
    707 Bytes
    Upload folder using huggingface_hub about 2 months ago
  • config.json
    1.12 kB
    Truncate layer_types to match num_hidden_layers (#1) about 1 month ago
  • config_sentence_transformers.json
    224 Bytes
    Upload folder using huggingface_hub about 2 months ago
  • merges.txt
    1.67 MB
    Upload folder using huggingface_hub about 2 months ago
  • model.safetensors
    669 MB
    xet
    Upload folder using huggingface_hub about 2 months ago
  • modules.json
    385 Bytes
    Upload folder using huggingface_hub about 2 months ago
  • special_tokens_map.json
    613 Bytes
    Upload folder using huggingface_hub about 2 months ago
  • tokenizer.json
    8.4 MB
    Upload folder using huggingface_hub about 2 months ago
  • tokenizer_config.json
    9.76 kB
    Upload folder using huggingface_hub about 2 months ago
  • vocab.json
    2.78 MB
    Upload folder using huggingface_hub about 2 months ago