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

blachang28
/
balanced-amc-gemma

Sentence Similarity
sentence-transformers
Safetensors
feature-extraction
dense
Generated from Trainer
dataset_size:200
loss:MultipleNegativesRankingLoss
Model card Files Files and versions
xet
Community

Instructions to use blachang28/balanced-amc-gemma with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use blachang28/balanced-amc-gemma with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("blachang28/balanced-amc-gemma")
    
    sentences = [
        "Let $n$ be the least positive integer greater than $1000$ for which \\[\\gcd(63, n+120) =21\\quad \\text{and} \\quad \\gcd(n+63, 120)=60.\\] What is the sum of the digits of $n$?",
        "Jason rolls three fair standard six-sided dice. Then he looks at the rolls and chooses a subset of the dice (possibly empty, possibly all three dice) to reroll. After rerolling, he wins if and only if the sum of the numbers face up on the three dice is exactly $7.$ Jason always plays to optimize his chances of winning. What is the probability that he chooses to reroll exactly two of the dice?",
        "$2000(2000^{2000}) = x$ Find x.",
        "An $8$-foot by $10$-foot bathroom floor is tiled with square tiles of size $1$ foot by $1$ foot. Each tile has a pattern consisting of four white quarter circles of radius $1/2$ foot centered at each corner of the tile. The remaining portion of the tile is shaded. How many square feet of the floor are shaded? [asy] unitsize(2cm); defaultpen(linewidth(.8pt)); fill(unitsquare,gray); filldraw(Arc((0,0),.5,0,90)--(0,0)--cycle,white,black); filldraw(Arc((1,0),.5,90,180)--(1,0)--cycle,white,black); filldraw(Arc((1,1),.5,180,270)--(1,1)--cycle,white,black); filldraw(Arc((0,1),.5,270,360)--(0,1)--cycle,white,black); [/asy]"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
balanced-amc-gemma
1.27 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
blachang28's picture
blachang28
Add new SentenceTransformer model
c40221c verified 6 months ago
  • 1_Pooling
    Add new SentenceTransformer model 6 months ago
  • 2_Dense
    Add new SentenceTransformer model 6 months ago
  • 3_Dense
    Add new SentenceTransformer model 6 months ago
  • .gitattributes
    1.57 kB
    Add new SentenceTransformer model 6 months ago
  • README.md
    25.6 kB
    Add new SentenceTransformer model 6 months ago
  • added_tokens.json
    35 Bytes
    Add new SentenceTransformer model 6 months ago
  • config.json
    1.48 kB
    Add new SentenceTransformer model 6 months ago
  • config_sentence_transformers.json
    992 Bytes
    Add new SentenceTransformer model 6 months ago
  • model.safetensors
    1.21 GB
    xet
    Add new SentenceTransformer model 6 months ago
  • modules.json
    573 Bytes
    Add new SentenceTransformer model 6 months ago
  • sentence_bert_config.json
    58 Bytes
    Add new SentenceTransformer model 6 months ago
  • special_tokens_map.json
    662 Bytes
    Add new SentenceTransformer model 6 months ago
  • tokenizer.json
    33.4 MB
    xet
    Add new SentenceTransformer model 6 months ago
  • tokenizer.model
    4.69 MB
    xet
    Add new SentenceTransformer model 6 months ago
  • tokenizer_config.json
    1.16 MB
    Add new SentenceTransformer model 6 months ago