malikali commited on
Commit
b0ed9f9
·
verified ·
1 Parent(s): abc618d

Create README.md

Browse files

# CEFF-Aligned Language Model (CaLM)

This is a model card for the CEFF-Aligned Language Model (CaLM) from the paper: From Tarzan to Tolkien: Controlling the Language Proficiency Level of LLMs for Content Generation

**Paper**: https://aclanthology.org/2024.findings-acl.926/
**Arxiv**: https://arxiv.org/abs/2406.03030
**Github**: https://github.com/malik-ali/tarzan2tolkien


## Prompt Template
The model text template looks like

```
<<Summary>>: {summary}
<<CEFR>>: {cefr}
<<Story>>:
{story}
<</Story>>
```

where you replace `{summary}` with the summary of the desired story to generate and `{cefr}` with the desired CEFR level is one of `["A1", "A2", "B1", "B2", "C1", "C2"]`.

To generate, you can add the summary and target CEFR level and just start generating after the `<<Story>>:\n `. See the Github repo for examples.

Files changed (1) hide show
  1. README.md +11 -0
README.md ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ base_model:
5
+ - meta-llama/Llama-2-7b-hf
6
+ pipeline_tag: text-generation
7
+ tags:
8
+ - cefr
9
+ - controllable_generation
10
+ - langauge
11
+ ---