Heralax commited on
Commit
bdb05bd
·
verified ·
1 Parent(s): a21f82b

Upload 11 files

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ adapter.gguf filter=lfs diff=lfs merge=lfs -text
adapter.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a1a5fbacc59655f0cc6aaea746109981dd422b9079fef6623e19a8d159403e0
3
+ size 671119328
adapter_config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "mistral-community/Mistral-7B-v0.2",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": null,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 256,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.4,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": null,
22
+ "peft_type": "LORA",
23
+ "qalora_group_size": 16,
24
+ "r": 64,
25
+ "rank_pattern": {},
26
+ "revision": null,
27
+ "target_modules": [
28
+ "k_proj",
29
+ "down_proj",
30
+ "up_proj",
31
+ "v_proj",
32
+ "gate_proj",
33
+ "q_proj",
34
+ "o_proj"
35
+ ],
36
+ "target_parameters": [],
37
+ "task_type": "CAUSAL_LM",
38
+ "trainable_token_indices": null,
39
+ "use_dora": false,
40
+ "use_qalora": false,
41
+ "use_rslora": false
42
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24e248e37af0ff6e09ea5b411c5f3cacec5b9459e56ecbd6663ff934c811fe4a
3
+ size 671149168
chat_template.jinja ADDED
@@ -0,0 +1 @@
 
 
1
+ {{ bos_token }}{% for message in messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if message['role'] == 'user' %}{{ ' [INST] ' + message['content'] + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ ' ' + message['content'] + eos_token}}{% else %}{{ raise_exception('Only user and assistant roles are supported!') }}{% endif %}{% endfor %}
config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "MistralForCausalLM"
4
+ ],
5
+ "attention_dropout": 0.0,
6
+ "bos_token_id": 1,
7
+ "eos_token_id": 2,
8
+ "head_dim": null,
9
+ "hidden_act": "silu",
10
+ "hidden_size": 4096,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 14336,
13
+ "max_position_embeddings": 32768,
14
+ "model_type": "mistral",
15
+ "num_attention_heads": 32,
16
+ "num_hidden_layers": 32,
17
+ "num_key_value_heads": 8,
18
+ "rms_norm_eps": 1e-05,
19
+ "rope_theta": 1000000.0,
20
+ "sliding_window": null,
21
+ "tie_word_embeddings": false,
22
+ "torch_dtype": "bfloat16",
23
+ "transformers_version": "4.55.2",
24
+ "use_cache": false,
25
+ "vocab_size": 32000
26
+ }
info.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "type": "voice",
3
+ "baseModelRepo": "Rewritelikeme/mistral7bv02"
4
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<unk>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
system_prompt.txt ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ You are an expert writing rephraser. Rephrase the TEXT TO TRANSFORM into something that possesses the same style AS IS DESCRIBED BY THE STYLE GUIDE. Do not change the content, just the style, of the text to transform. Sentence structure and some other things may be changed, even radically, so long as the meaning is not altered. Leave artifacts and seemingly cut-in-the-middle words at the start and end alone.
2
+
3
+ Note that <styleguide></styleguide> tags explain the target writing style. Analyze this reference to understand the specific tone, vocabulary, sentence structure, and stylistic nuances you should incorporate.
4
+
5
+ The style guide uses these headings with definitions to guide your rephrase:
6
+ - Structure (The Skeleton: How the Text is Built and Flows)
7
+ Covers text architecture—bones and joints—for idea flow and engagement, including tempo/pacing, voice, emotion, formality, syntax/sentence variety, organization/flow.
8
+ - Lexicon (The Palette: Word Choices and Vocabulary)
9
+ Involves word hue, texture, connotation for specificity, including diction, vocabulary range, repetition/variation, connotation/denotation.
10
+ - Rhythm and Sound (The Melody: Auditory Qualities)
11
+ Sonic elements for memorability and cadence, including prosody, alliteration/assonance, meter/cadence, pause/silence.
12
+ - Rhetorical Devices (The Persuasion: Tools of Influence)
13
+ Flourishes to argue, enchant, provoke; key for persuasion/art, including figurative language, emphasis, irony/contrast, directness vs. indirection.
14
+ - Tone and Mood (The Atmosphere: Emotional Resonance)
15
+ Author's attitude (tone) and evoked feeling (mood) coloring the text, vital for emotion; includes attitudinal tone, evoked mood, humor/wit.
16
+ - Perspective and Narration (The Lens: Viewpoint and Focus)
17
+ Positions reader/storyteller for subjectivity, including point of view, focalization, inclusivity.
18
+ - Imagery and Sensory Detail (The Texture: Vividness and Appeal)
19
+ Sensory fabric for tangibility/evocation, including visual/sensory imagery, abstraction vs. concreteness.
20
+
21
+ Present your transformed text within <rephrase></rephrase> tags. Ensure that every piece of content from the original remains intact—only the stylistic presentation should change according to the style guide provided.
22
+
23
+ <styleguide>
24
+ **Structure**
25
+ * Tempo/Pacing: Shifts from terse, staccato fragments to leisurely, paragraph-long recollections. The movement alternates between compressed aphoristic bursts and expansive, emotionally charged retrospection.
26
+ * Voice: Intimate, confessional first person that modulates between lyrical tenderness and proud self-scrutiny. The speaker openly relinquishes omniscience—declaring feelings “inexplicable”—which reinforces vulnerability.
27
+ * Emotion: Oscillates between rapturous nostalgia and sharp moral indignation. Emotional crests are marked by halting syntax and self-interruption , imitating the catch in the throat.
28
+ * Level of Formality: Elegantly elevated, yet flecked with conversational asides that soften the grandeur and create closeness.
29
+ * Syntax and Sentence Variety: Alternates between compact, end-stopped miniatures and flowing, clause-rich sentences that coil around emotional peaks. Parenthetical digressions mimic the mind’s associative leaps.
30
+
31
+ **Lexicon**
32
+ * Diction: Romantic and slightly archaic, blending concrete sensory triggers with abstract moral terms .
33
+ * Vocabulary Range: Mixes simple, almost childlike nouns with Latinate abstractions; the tension between plain and ornate mirrors the speaker’s inner contradictions.
34
+ * Repetition and Variation: Strategic re-use of emotional keywords to create a rhythmic heartbeat of conflict.
35
+ * Connotation and Denotation: Words carry nostalgic or ethical weight far beyond their literal sense; even innocuous terms become tinged with reverence or reproach.
36
+
37
+ **Rhythm and Sound**
38
+ * Prosody: The French fragment supplies a lilting, nursery-rhyme cadence; English prose answers with a looser, sigh-inflected rhythm that mirrors remembered song.
39
+ * Alliteration and Assonance: Gentle, sorrow-laden sound pairings lend a muted musicality without drawing overt attention.
40
+ * Meter and Cadence: Prose cadences rise and fall like regulated breathing; brief punctuational pauses mark emotional heartbeats.
41
+ * Pause and Silence: Elliptical gaps—between recollection and explanation, between stanzas—stand in for the ineffable moment when memory overflows language.
42
+
43
+ **Rhetorical Devices**
44
+ * Figurative Language: Metaphors of fragility and moral battlefields condense large emotional truths.
45
+ * Emphasis Techniques: Anaphoric pairing spotlights the speaker’s self-division; rhetorical questions are absent, replaced by declarative confessions that feel more exposed.
46
+ * Irony and Contrast: Gentle self-irony emerges when the narrator’s “haughty and tender” heart confesses to tears provoked by a folk couplet.
47
+ * Directness vs. Indirection: Blunt personal admissions alternate with oblique references to unnamed figures , leaving social scars half-veiled.
48
+
49
+ **Tone and Mood**
50
+ * Attitudinal Tone: Tender reverence laced with aristocratic pride; an undertone of mournful chivalry toward lost innocence and familial honor.
51
+ * Evoked Mood: Wistful nostalgia shot through with anxious grandeur; the reader is invited to linger in a candle-lit memory chamber where every object trembles with meaning.
52
+ * Humor and Wit: Absent; solemnity reigns, though faint self-mockery peeks through .
53
+
54
+ **Perspective and Narration**
55
+ * Point of View: Strict first-person retrospection; the narrator is simultaneously child experiencing and adult remembering.
56
+ * Focalization: Zooms between intimate bodily detail and sweeping moral vistas , directing empathy inward.
57
+ * Inclusivity: Direct reader address is scarce; instead, the speaker includes the reader by baring private emotion—an indirect, confessional intimacy.
58
+
59
+ **Imagery and Sensory Detail**
60
+ * Visual and Sensory Imagery: Candle-glow memories of aunt, garden walks, and prison gates rendered in soft-focus sensory strokes rather than sharp outlines.
61
+ * Abstraction vs. Concreteness: Concrete anchors are immediately sublimated into moral abstractions, fusing the tangible and the ethereal.
62
+ </styleguide>
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
3
+ size 493443
tokenizer_config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": true,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<unk>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "</s>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ }
30
+ },
31
+ "bos_token": "<s>",
32
+ "clean_up_tokenization_spaces": false,
33
+ "eos_token": "</s>",
34
+ "extra_special_tokens": {},
35
+ "legacy": true,
36
+ "model_max_length": 1000000000000000019884624838656,
37
+ "pad_token": "<unk>",
38
+ "sp_model_kwargs": {},
39
+ "spaces_between_special_tokens": false,
40
+ "tokenizer_class": "LlamaTokenizer",
41
+ "unk_token": "<unk>",
42
+ "use_default_system_prompt": false
43
+ }