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

jirawan-chro
/
RAG-thai

Sentence Similarity
sentence-transformers
Safetensors
Transformers
bert
feature-extraction
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use jirawan-chro/RAG-thai with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use jirawan-chro/RAG-thai with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("jirawan-chro/RAG-thai")
    
    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 jirawan-chro/RAG-thai with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("jirawan-chro/RAG-thai")
    model = AutoModel.from_pretrained("jirawan-chro/RAG-thai")
  • Notebooks
  • Google Colab
  • Kaggle
RAG-thai
502 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
jirawan-chro's picture
jirawan-chro
Add new SentenceTransformer model
f51c24b verified 12 months ago
  • 1_Pooling
    Add new SentenceTransformer model 12 months ago
  • .gitattributes
    1.62 kB
    Add new SentenceTransformer model 12 months ago
  • README.md
    3.89 kB
    Add new SentenceTransformer model 12 months ago
  • config.json
    619 Bytes
    Add new SentenceTransformer model 12 months ago
  • config_sentence_transformers.json
    205 Bytes
    Add new SentenceTransformer model 12 months ago
  • model.safetensors
    471 MB
    xet
    Add new SentenceTransformer model 12 months ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model 12 months ago
  • sentence_bert_config.json
    53 Bytes
    Add new SentenceTransformer model 12 months ago
  • special_tokens_map.json
    964 Bytes
    Add new SentenceTransformer model 12 months ago
  • tokenizer.json
    17.1 MB
    xet
    Add new SentenceTransformer model 12 months ago
  • tokenizer_config.json
    1.45 kB
    Add new SentenceTransformer model 12 months ago
  • unigram.json
    14.8 MB
    xet
    Add new SentenceTransformer model 12 months ago