Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

gurgutan
/
giga-embedding-instruct-bnb-4bit

Feature Extraction
sentence-transformers
Safetensors
Transformers
Russian
English
gigarembed
MTEB
custom_code
4-bit precision
bitsandbytes
Model card Files Files and versions
xet
Community

Instructions to use gurgutan/giga-embedding-instruct-bnb-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use gurgutan/giga-embedding-instruct-bnb-4bit with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("gurgutan/giga-embedding-instruct-bnb-4bit", trust_remote_code=True)
    
    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 gurgutan/giga-embedding-instruct-bnb-4bit with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="gurgutan/giga-embedding-instruct-bnb-4bit", trust_remote_code=True)
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("gurgutan/giga-embedding-instruct-bnb-4bit", trust_remote_code=True, dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
giga-embedding-instruct-bnb-4bit
2.18 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
gurgutan's picture
gurgutan
Update README.md
5cce8cb verified 8 months ago
  • .gitattributes
    1.57 kB
    Upload 9 files 8 months ago
  • README.md
    10.1 kB
    Update README.md 8 months ago
  • chat_template.jinja
    115 Bytes
    Upload 9 files 8 months ago
  • config.json
    6.37 kB
    Upload 9 files 8 months ago
  • configuration_gigarembed.py
    14.4 kB
    Upload 9 files 8 months ago
  • model.safetensors
    2.17 GB
    xet
    Upload 9 files 8 months ago
  • modeling_gigarembed.py
    44.2 kB
    Upload 9 files 8 months ago
  • quantization_config.json
    426 Bytes
    Upload 9 files 8 months ago
  • special_tokens_map.json
    690 Bytes
    Upload 9 files 8 months ago
  • tokenizer.json
    10.7 MB
    xet
    Upload 9 files 8 months ago
  • tokenizer_config.json
    48 kB
    Upload 9 files 8 months ago