Downloads · 30 days
11
10% of all-time downloads
GaborMadarasz/AstroQA_mamba_epoch1
AstroQA_mamba_epoch1 is a text generation model from GaborMadarasz. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
Hungarian Astronomy Question-Answering mamba modell SFT-training epoch 1.
Downloads · 30 days
11
10% of all-time downloads
All-time downloads
109
Public
Parameters
130M
522 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors522 MB · 99%
From the Hugging Face model README
Hungarian Astronomy Question-Answering mamba modell SFT-training epoch 1.
This is an experimental mamba-130m-hf Small LM tuned to RAG for amateur astronomy. (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.
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
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"])
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
BibTeX:
[More Information Needed]
APA:
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]