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

reasonir
/
ReasonIR-8B

Feature Extraction
Transformers
Safetensors
sentence-transformers
English
llama
custom_code
text-embeddings-inference
Model card Files Files and versions
xet
Community
3

Instructions to use reasonir/ReasonIR-8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use reasonir/ReasonIR-8B with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="reasonir/ReasonIR-8B", trust_remote_code=True)
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("reasonir/ReasonIR-8B", trust_remote_code=True)
    model = AutoModel.from_pretrained("reasonir/ReasonIR-8B", trust_remote_code=True)
  • sentence-transformers

    How to use reasonir/ReasonIR-8B with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("reasonir/ReasonIR-8B", 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]
  • Notebooks
  • Google Colab
  • Kaggle
ReasonIR-8B
15 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 27 commits
nielsr's picture
nielsr HF Staff
Update tag
1a02724 verified about 1 year ago
  • .gitattributes
    1.57 kB
    Upload folder using huggingface_hub about 1 year ago
  • README.md
    2.93 kB
    Update tag about 1 year ago
  • config.json
    960 Bytes
    Update config.json about 1 year ago
  • model-00001-of-00004.safetensors
    4.98 GB
    xet
    Upload folder using huggingface_hub about 1 year ago
  • model-00002-of-00004.safetensors
    5 GB
    xet
    Upload folder using huggingface_hub about 1 year ago
  • model-00003-of-00004.safetensors
    4.92 GB
    xet
    Upload folder using huggingface_hub about 1 year ago
  • model-00004-of-00004.safetensors
    117 MB
    xet
    Upload folder using huggingface_hub about 1 year ago
  • model.safetensors.index.json
    22.2 kB
    Upload folder using huggingface_hub about 1 year ago
  • modeling_reasonir_8b.py
    84.5 kB
    Update modeling_reasonir_8b.py about 1 year ago
  • special_tokens_map.json
    335 Bytes
    Upload folder using huggingface_hub about 1 year ago
  • tokenizer.json
    17.2 MB
    xet
    Upload folder using huggingface_hub about 1 year ago
  • tokenizer_config.json
    50.6 kB
    Upload folder using huggingface_hub about 1 year ago