File size: 1,989 Bytes
967a8b7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ec396c5
 
967a8b7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ec396c5
967a8b7
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
---
license: mit
language:
- fr
base_model:
- google/gemma-2-2b-it
pipeline_tag: translation
---

# Model Card for Model ID

kAIra-gemma-2-2b is a finetuned version of google/gemma-2-2b-it can be used in French to translate any text into a slang version of it.


## Model Details

### Model Description

<!-- Provide a longer summary of what this model is. -->



- **Developed by:** Sébastien Fischman
- **Funded by [optional]:** None
- **Shared by [optional]:** Sébastien Fischman
- **Model type:** [More Information Needed]
- **Language(s) (NLP):** French
- **License:** MIT
- **Finetuned from model [optional]:** google/gemma-2-2b-it

### Model Sources [optional]

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

- **Repository:** https://www.kaggle.com/code/optimo/kaira-adapting-gemma2-to-local-slang-french/

## Uses

This model is a toy example to showcase how to teach an LLM French slang, it can be used to generate funny translation in argot.


## Bias, Risks, and Limitations


Since the model is trained to translate in slang, some generated content can be considered offensive or inappropriate.

### 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 from Kaggle here : https://www.kaggle.com/code/optimo/kaira-adapting-gemma2-to-local-slang-french/
Or use the HF Space: Coming

[More Information Needed]

## Training Details

### Training Data

https://www.kaggle.com/datasets/optimo/french-kaira-training


### Training Procedure

Training code is fully accesible here: https://www.kaggle.com/code/optimo/kaira-adapting-gemma2-to-local-slang-french/


#### Training Hyperparameters

- **Training regime:** bf16

[More Information Needed]
### Framework versions

- PEFT 0.14.0