CoolFace
Modelpublic

hassanepulga/Mateno-v1.5-2b-it

sourceHugging Facemitupdated 2y agoView on Hugging Face
1likes25downloads
Model Card

Model Card for Model ID

Mateno-v1.5-2B-it is the fine-tuned version of Google's Gemma model for more specific tasks such as shorthand (Stenography), law or administration. This model is still in training and a new version of 9b parameters will be available soon. From the Mateno.ai project aimed at helping Malian students in their studies by facilitating access to information more quickly and efficiently. Mateno-v1.5-2B-it is a good start because it already meets several needs and its learning capacity is amazing. In a few months, the model should be able to answer questions relating to these areas in a purely Malian context, ensuring the veracity of the information and its relevance. We plan to later develop a model from scratch to contextualize it more advantageously, but for now, we are focusing on large publicly available language models like Llama from Meta, Gemma from Google, Deepseek-R1 from the Chinese firm deepseek.ai to achieve our goals.

Model Details

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

Model Description

Mateno-v1.5-2B-it is a text-generation model for more specific tasks.

  • โ€”Developed by: Hassane SANOGO
  • โ€”Funded by : Mateno.ai
  • โ€”Shared by : Hassane SANOGO
  • โ€”Model type: LLM
  • โ€”Language(s) (NLP): [More Information Needed]
  • โ€”License: MIT
  • โ€”Finetuned from model : Gemma-2B

Model Sources [optional]

<!-- Provide the basic links for the model. -->

  • โ€”Repository: [More Information Needed]
  • โ€”Paper [optional]: [More Information Needed]
  • โ€”Demo [optional]: [More Information Needed]

Uses

Below we share some code snippets on how to get quickly started with running the model. First, install the Transformers library with: pip install -U transformers

Then, copy the snippet from the section that is relevant for your usecase. **Running with the pipeline API

import torch
from transformers import pipeline

pipe = pipeline(
    "text-generation",
    model="hassanepulga/Mateno-v1.5-2B-it",
    model_kwargs={"torch_dtype": torch.bfloat16},
    device="cuda",  # replace with "mps" to run on a Mac device
)

messages = [
    {"role": "user", "content": "Who are you? Please, answer in pirate-speak."},
]

outputs = pipe(messages, max_new_tokens=256)
assistant_response = outputs[0]["generated_text"][-1]["content"].strip()
print(assistant_response)
# Ahoy, matey! I be Gemma, a digital scallywag, a language-slingin' parrot of the digital seas. I be here to help ye with yer wordy woes, answer yer questions, and spin ye yarns of the digital world.  So, what be yer pleasure, eh? ๐Ÿฆœ

This snippet is from origin model Gemma-2-2b-it stored in Google's huggingface page.

Direct Use

<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->

[More Information Needed]

Downstream Use [optional]

<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->

[More Information Needed]

Out-of-Scope Use

All question out of stenography, law and administration could be rejected by the model. If answered, it could probably be not accurate or wrong. So pay attention when using this Mateno version or above. It's built for law, stenography and administration technical tasks.

[More Information Needed]

Bias, Risks, and Limitations

<!-- This section is meant to convey both technical and sociotechnical limitations. -->

[More Information Needed]

Recommendations

<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->

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.

[More Information Needed]

Training Details

Training Data

<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->

[More Information Needed]

Training Procedure

<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->

Preprocessing [optional]

[More Information Needed]

Training Hyperparameters
  • โ€”Training regime: [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
Speeds, Sizes, Times [optional]

<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->

[More Information Needed]

Evaluation

<!-- This section describes the evaluation protocols and provides the results. -->

Testing Data, Factors & Metrics

Testing Data

<!-- This should link to a Dataset Card if possible. -->

[More Information Needed]

Factors

<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->

[More Information Needed]

Metrics

<!-- These are the evaluation metrics being used, ideally with a description of why. -->

[More Information Needed]

Results

[More Information Needed]

Summary

Model Examination [optional]

<!-- Relevant interpretability work for the model goes here -->

[More Information Needed]

Environmental Impact

<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->

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

[More Information Needed]

Software

[More Information Needed]

Citation [optional]

<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->

BibTeX:

[More Information Needed]

APA:

[More Information Needed]

Glossary [optional]

<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->

[More Information Needed]

More Information [optional]

[More Information Needed]

Model Card Authors [optional]

[More Information Needed]

Model Card Contact

[More Information Needed]