gsarti commited on
Commit
531d030
·
verified ·
1 Parent(s): 3f5bedf

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +65 -10
README.md CHANGED
@@ -1,22 +1,77 @@
1
  ---
2
- base_model: unsloth/Phi-3-mini-4k-instruct-v0-bnb-4bit
3
  language:
4
- - en
5
  license: apache-2.0
 
6
  tags:
7
  - text-generation-inference
8
- - transformers
9
  - unsloth
10
  - mistral
11
- - gguf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  ---
13
 
14
- # Uploaded model
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
 
16
- - **Developed by:** gsarti
17
- - **License:** apache-2.0
18
- - **Finetuned from model :** unsloth/Phi-3-mini-4k-instruct-v0-bnb-4bit
19
 
20
- This mistral model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
21
 
22
- [<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
 
1
  ---
 
2
  language:
3
+ - it
4
  license: apache-2.0
5
+ library_name: transformers
6
  tags:
7
  - text-generation-inference
 
8
  - unsloth
9
  - mistral
10
+ - trl
11
+ - word-game
12
+ - rebus
13
+ - italian
14
+ - word-puzzle
15
+ - crossword
16
+ datasets:
17
+ - gsarti/eureka-rebus
18
+ base_model: unsloth/Phi-3-mini-4k-instruct-v0-bnb-4bit
19
+
20
+ model-index:
21
+ - name: gsarti/phi3-mini-rebus-solver-fp16
22
+ results:
23
+ - task:
24
+ type: verbalized-rebus-solving
25
+ name: Verbalized Rebus Solving
26
+ dataset:
27
+ type: gsarti/eureka-rebus
28
+ name: EurekaRebus
29
+ config: llm_sft
30
+ split: test
31
+ revision: 0f24ebc3b66cd2f8968077a5eb058be1d5af2f05
32
+ metrics:
33
+ - type: exact_match
34
+ value: 0.56
35
+ name: First Pass Exact Match
36
+ - type: exact_match
37
+ value: 0.51
38
+ name: Solution Exact Match
39
  ---
40
 
41
+ # Phi-3 Mini 4K Verbalized Rebus Solver 🇮🇹
42
+
43
+ This model is a parameter-efficient fine-tuned version of Phi-3 Mini 4K trained for verbalized rebus solving in Italian, as part of the [release](https://huggingface.co/collections/gsarti/verbalized-rebus-clic-it-2024-66ab8f11cb04e68bdf4fb028) for our paper [Non Verbis, Sed Rebus: Large Language Models are Weak Solvers of Italian Rebuses](TBD). The task of verbalized rebus solving consists of converting an encrypted sequence of letters and crossword definitions into a solution phrase matching the word lengths specified in the solution key. An example is provided below.
44
+
45
+ The model was trained in 4-bit precision for 5070 steps on the verbalized subset of the [EurekaRebus](https://huggingface.co/datasets/gsarti/eureka-rebus) using QLora via [Unsloth](https://github.com/unslothai/unsloth) and [TRL](https://github.com/huggingface/trl). This repository contains the GGUF exported checkpoint of the model in `Q8_0` format, and the `Modelfile` for usage with [Ollama](https://ollama.com/) (see below).
46
+
47
+ We also provide [adapter checkpoints through training](https://huggingface.co/gsarti/phi3-mini-rebus-solver-adapters) and [FP16 merged](https://huggingface.co/gsarti/gsarti/phi3-mini-rebus-solver-fp16) versions of this model for analysis and local execution.
48
+
49
+ ## Local usage with Ollama
50
+
51
+ A ready-to-use local version of this model is hosted on the [Ollama Hub](https://ollama.com/gsarti/phi3-mini-rebus-solver) and can be used as follows:
52
+
53
+ ```shell
54
+ ollama run gsarti/phi3-mini-rebus-solver "Rebus: [Materiale espulso dai vulcani] R O [Strumento del calzolaio] [Si trovano ai lati del bacino] C I [Si ingrassano con la polenta] E I N [Contiene scorte di cibi] B [Isola in francese]\nChiave risolutiva: 1 ' 5 6 5 3 3 1 14"
55
+ ```
56
+
57
+ ## Limitations
58
+
59
+ **Lexical overfitting**: As remarked in the related publication, the model overfitted the set of definitions/answers for first pass words. As a result, words that were [explicitly witheld](https://huggingface.co/datasets/gsarti/eureka-rebus/blob/main/ood_words.txt) from the training set cause significant performance degradation when used as solutions for verbalized rebuses' definitions. You can compare model performances between [in-domain](https://huggingface.co/datasets/gsarti/eureka-rebus/blob/main/id_test.jsonl) and [out-of-domain](https://huggingface.co/datasets/gsarti/eureka-rebus/blob/main/ood_test.jsonl) test examples to verify this limitation.
60
+
61
+ ## Model curators
62
+
63
+ For problems or updates on this model, please contact [[email protected]](mailto:[email protected]).
64
+
65
+ ### Citation Information
66
+
67
+ If you use this model in your work, please cite our paper as follows:
68
+
69
+ ```bibtex
70
+ TBD
71
+ ```
72
 
73
+ ## Acknowledgements
 
 
74
 
75
+ We are grateful to the [Associazione Culturale "Biblioteca Enigmistica Italiana - G. Panini"](http://www.enignet.it/home) for making its rebus collection freely accessible on the [Eureka5 platform](http://www.eureka5.it).
76
 
77
+ [<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)