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

alexshah
/
armembed

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

Instructions to use alexshah/armembed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use alexshah/armembed with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="alexshah/armembed")
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("alexshah/armembed")
    model = AutoModel.from_pretrained("alexshah/armembed")
  • sentence-transformers

    How to use alexshah/armembed with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("alexshah/armembed")
    
    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
armembed
4.95 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 9 commits
alexshah's picture
alexshah
Update README.md
9623556 verified about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • EmbeddingModel.py
    6.11 kB
    Remove tokenize about 1 year ago
  • README.md
    7.09 kB
    Update README.md about 1 year ago
  • config.json
    884 Bytes
    Add new SentenceTransformer model about 1 year ago
  • config_sentence_transformers.json
    205 Bytes
    Add new SentenceTransformer model about 1 year ago
  • model.safetensors
    4.94 GB
    xet
    Add new SentenceTransformer model about 1 year ago
  • modules.json
    102 Bytes
    Add new SentenceTransformer model about 1 year ago
  • sentence_bert_config.json
    53 Bytes
    Add new SentenceTransformer model about 1 year ago
  • special_tokens_map.json
    97 Bytes
    Upload special_tokens_map.json with huggingface_hub about 1 year ago
  • tokenizer.json
    3.96 MB
    Upload tokenizer.json with huggingface_hub about 1 year ago
  • tokenizer_config.json
    50.7 kB
    Add new SentenceTransformer model about 1 year ago