Model Card for Model ID

Hungarian Astronomy Question-Answering mamba modell SFT-trainig phase 10. (There will be 20 in total.)

Model Details

Model Description

This is an experimental mamba-130m-hf Small LM tuned to RAG. (Answer based on the context provided.)

This is the model card of a ๐Ÿค— transformers model that has been pushed on the Hub. This model card has been automatically generated.

  • Developed by: [Gรกbor Madarรกsz]
  • Funded by [optional]: [Kaggle]
  • Shared by [optional]: [More Information Needed]
  • Model type: [Mamba]
  • Language(s) (NLP): [Hungarian]
  • License: [apache-2.0]
  • Finetuned from model [optional]: [NYTK/PULI-HuBA-mamba-130M]

Model Sources [optional]

  • Repository: [More Information Needed]
  • Paper [optional]: [More Information Needed]
  • Demo [optional]: [More Information Needed]

Uses

Direct Use

The model is trained exclusively on Question-Answer pairs from amateur astronomy magazines in Hungarian, with the context added.

Downstream Use [optional]

[More Information Needed]

Out-of-Scope Use

[More Information Needed]

Bias, Risks, and Limitations

The model has not been tested and may generate offensive content, personal information, etc.

Recommendations

Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.

How to Get Started with the Model

Use the code below to get started with the model.

from transformers import pipeline

# Load the model

model_name = "GaborMadarasz/AstroQA_mamba_V10"  #"/home/gabor/Dokumentumok/Munka/hobby/mamba/AstroQA_mamba/checkpoint30" 

# Initialize the text generation pipeline
generator = pipeline("text-generation", model=model_name)

question = "Mikor sikerรผlt รบjra รฉszlelni az รผstรถkรถst?" # "Milyen fรฉnyes volt az รผstkรถkรถs?" #"Mikor sikerรผlt รบjra รฉszlelni az รผstรถkรถst?"

context = """Az รกltalam 6,5 magnitรบdรณsra becsรผlt รผstรถ-
kรถs ugyan messze volt mรกr az M3-tรณl, de
a kompakt kรณma รฉs a tรถbb mint egy fok
hosszรบ csรณva lรกtvรกnya valamelyest kรกrpรณ-
tolt minket. Nรฉhรกny nappal kรฉsล‘bb, decem-
ber 7-รฉn sokaknak sikerรผlt รบjra รฉszlelni
az รผstรถkรถst, รฉn is megprรณbรกlkoztam, bรกr
Budapestrล‘l mรกr annak is รถrรผltem, hogy
a Corona Borealis csillagait sikerรผlt bino-
kulรกrral megtalรกlnom. """

prompt = f"Query:\n{question}\n\n### Input:\n{context}\n\n### Response:\n"


# Generate text with recommended parameters
output = generator(
    prompt,  # Example prompt in Hungarian
    max_new_tokens=256,
    do_sample=True,
    repetition_penalty=1.35,
    temperature=0.1,
    top_k=120,
    top_p=0.98,
    truncation=True,
    return_full_text=False,
    
)

# Print the generated text
print(output[0]["generated_text"])

Training Details

Training Data

[More Information Needed]

Training Procedure

Preprocessing [optional]

[More Information Needed]

Training Hyperparameters

  • Training regime: [More Information Needed]

Speeds, Sizes, Times [optional]

[More Information Needed]

Evaluation

Testing Data, Factors & Metrics

Testing Data

[More Information Needed]

Factors

[More Information Needed]

Metrics

[More Information Needed]

Results

[More Information Needed]

Summary

Model Examination [optional]

[More Information Needed]

Environmental Impact

Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).

  • Hardware Type: [More Information Needed]
  • Hours used: [More Information Needed]
  • Cloud Provider: [More Information Needed]
  • Compute Region: [More Information Needed]
  • Carbon Emitted: [More Information Needed]

Technical Specifications [optional]

Model Architecture and Objective

[More Information Needed]

Compute Infrastructure

[More Information Needed]

Hardware

Kaggle Free P100

Software

[More Information Needed]

Citation [optional]

BibTeX:

[More Information Needed]

APA:

[More Information Needed]

Glossary [optional]

[More Information Needed]

More Information [optional]

[More Information Needed]

Model Card Authors [optional]

[More Information Needed]

Model Card Contact

[More Information Needed]

Downloads last month
8
Safetensors
Model size
130M params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for GaborMadarasz/AstroQA_mamba_V10

Finetuned
(2)
this model