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

malaysia-ai
/
malaysian-llm2vec-reranker-349M-16384

Text Classification
Transformers
Safetensors
mistral
custom_code
text-embeddings-inference
Model card Files Files and versions
xet
Community
1

Instructions to use malaysia-ai/malaysian-llm2vec-reranker-349M-16384 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use malaysia-ai/malaysian-llm2vec-reranker-349M-16384 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="malaysia-ai/malaysian-llm2vec-reranker-349M-16384", trust_remote_code=True)
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("malaysia-ai/malaysian-llm2vec-reranker-349M-16384", trust_remote_code=True)
    model = AutoModelForSequenceClassification.from_pretrained("malaysia-ai/malaysian-llm2vec-reranker-349M-16384", trust_remote_code=True)
  • Notebooks
  • Google Colab
  • Kaggle
malaysian-llm2vec-reranker-349M-16384
1.27 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 7 commits
huseinzol05's picture
huseinzol05
Update classifier.py
a457d45 verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    5.17 kB
    Upload MistralForSequenceClassification over 1 year ago
  • classifier.py
    21.2 kB
    Update classifier.py over 1 year ago
  • config.json
    848 Bytes
    Upload MistralForSequenceClassification over 1 year ago
  • model.safetensors
    1.26 GB
    xet
    Upload MistralForSequenceClassification over 1 year ago
  • special_tokens_map.json
    773 Bytes
    Upload tokenizer over 1 year ago
  • tokenizer.json
    1.34 MB
    Upload tokenizer over 1 year ago
  • tokenizer_config.json
    1.39 kB
    Upload tokenizer over 1 year ago