randhir302 commited on
Commit
5d78e4e
·
verified ·
1 Parent(s): 4010179

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +58 -55
README.md CHANGED
@@ -42,42 +42,50 @@ library_name: transformers
42
  ---
43
 
44
  <p align="center">
45
- <img src="humanflow_logofinal.png" width="340"/>
46
  </p>
47
 
48
  <h1 align="center">HumanFlow-Llama3-8B</h1>
49
 
50
  <p align="center"><strong>The antidote to robotic AI text.</strong></p>
51
 
 
 
 
 
52
  <p align="center">
53
 
54
- ![License](https://img.shields.io/badge/License-Apache_2.0-black?style=flat-square)
55
- ![Base Model](https://img.shields.io/badge/Base-Llama--3%208B-black?style=flat-square)
56
- ![Weights](https://img.shields.io/badge/Weights-Merged-black?style=flat-square)
57
- ![Inference](https://img.shields.io/badge/GGUF-Ready-black?style=flat-square)
58
- ![Status](https://img.shields.io/badge/Release-Stable-black?style=flat-square)
59
 
60
  </p>
61
 
62
  ---
63
 
64
- ## Human Writing, Restored.
65
 
66
- Most AI-generated writing is easy to recognize.
67
 
68
- It often sounds predictable, overly polished, repetitive, structurally rigid, and emotionally flat. Whether used for articles, emails, social posts, or product copy, synthetic writing reduces trust and weakens engagement.
69
 
70
- **HumanFlow-Llama3-8B** was built to solve that problem.
71
 
72
- HumanFlow transforms robotic AI text into language that feels natural, fluid, readable, and genuinely human—while preserving the original meaning. It is optimized for high-quality rewriting, stylistic naturalization, and believable human tone.
73
 
74
  ---
75
 
76
  ## Quick Stats
77
 
78
- | | | | | |
79
- |---|---|---|---|---|
80
- | **99% Human Score** | **Llama-3 8B** | **Merged Weights** | **GGUF Ready** | **Open Source** |
 
 
 
 
 
81
 
82
  ---
83
 
@@ -86,68 +94,64 @@ HumanFlow transforms robotic AI text into language that feels natural, fluid, re
86
  | Category | Value |
87
  |---|---|
88
  | Model Name | HumanFlow-Llama3-8B |
89
- | Base Model | Meta Llama-3 8B Instruct |
90
- | Architecture | Decoder-only Transformer |
91
- | Fine-Tuning Method | LoRA + Full Merge |
92
- | Training Framework | Unsloth |
93
- | Primary Task | AI Text Humanization / Rewriting |
94
- | Input Type | Prompt + Source Text |
95
- | Output Type | Natural Human-like Rewrite |
96
- | Inference Support | Transformers, GGUF, Ollama-ready workflows |
97
- | License | Apache-2.0 |
98
 
99
  ---
100
 
101
  ## Before vs After
102
 
103
- ## Example 1 — Marketing Copy
104
 
105
- **Input (Robotic)**
106
- Our platform provides users with innovative solutions that enhance productivity and maximize efficiency.
107
 
108
- **Output (HumanFlow)**
109
- Our platform helps people get more done with smarter tools that make work faster, easier, and less stressful.
110
 
111
  ---
112
 
113
- ## Example 2 — Student Writing
114
 
115
- **Input (Robotic)**
116
- Climate change is a significant issue that requires immediate global attention and cooperative action.
117
 
118
- **Output (HumanFlow)**
119
- Climate change is one of the biggest challenges we face today, and solving it will require countries to act together now.
120
 
121
  ---
122
 
123
- ## Example 3 — Email Rewrite
124
 
125
- **Input (Robotic)**
126
- I am writing this email to inform you that the requested file has been attached for your review.
127
 
128
- **Output (HumanFlow)**
129
- Just wanted to let you know I’ve attached the file for your review.
130
 
131
  ---
132
 
133
- ## Built For Real Work
134
-
135
- HumanFlow is designed for teams and builders who need natural writing at scale.
136
 
137
- - **SEO agencies** improving readability and reducing AI tone
138
- - **Content teams** polishing drafts before publishing
139
- - **Students** making essays sound more natural
140
- - **Developers** integrating rewrite pipelines into apps
141
- - **Founders** improving landing pages and outreach copy
142
- - **Chatbots** generating warmer, more believable responses
143
- - **Email workflows** reducing template stiffness
144
- - **Social media teams** creating more human voice content
145
 
146
  ---
147
 
148
  ## Evaluation
149
 
150
- Automated evaluation results measured at **temperature = 0.7**
151
 
152
  | Metric | Value | Interpretation |
153
  |--------|-------|----------------|
@@ -156,7 +160,7 @@ Automated evaluation results measured at **temperature = 0.7**
156
  | Perplexity | 1.5242 | High fluency and coherence |
157
  | Text Overlap | 0.0528 | Minimal lexical copying |
158
 
159
- These scores indicate that HumanFlow preserves meaning while actively regenerating phrasing into more natural language.
160
 
161
  ---
162
 
@@ -166,7 +170,7 @@ These scores indicate that HumanFlow preserves meaning while actively regenerati
166
  from transformers import AutoTokenizer, AutoModelForCausalLM
167
  import torch
168
 
169
- model_id = "your-username/HumanFlow-Llama3-8B"
170
 
171
  tokenizer = AutoTokenizer.from_pretrained(model_id)
172
  model = AutoModelForCausalLM.from_pretrained(
@@ -176,9 +180,8 @@ model = AutoModelForCausalLM.from_pretrained(
176
  )
177
 
178
  prompt = """
179
- Rewrite the following text so it sounds natural, fluent, and human:
180
 
181
- Text:
182
  The company offers innovative solutions that optimize workflow efficiency.
183
  """
184
 
@@ -191,4 +194,4 @@ outputs = model.generate(
191
  top_p=0.9
192
  )
193
 
194
- print(tokenizer.decode(outputs[0], skip_special_tokens=True))
 
42
  ---
43
 
44
  <p align="center">
45
+ <img src="assets/humanflow_logofinal.png" width="340"/>
46
  </p>
47
 
48
  <h1 align="center">HumanFlow-Llama3-8B</h1>
49
 
50
  <p align="center"><strong>The antidote to robotic AI text.</strong></p>
51
 
52
+ <p align="center">
53
+ Rewrite synthetic AI writing into language that feels natural, fluent, and genuinely human.
54
+ </p>
55
+
56
  <p align="center">
57
 
58
+ ![License](https://img.shields.io/badge/License-Apache%202.0-black?style=for-the-badge)
59
+ ![Base](https://img.shields.io/badge/Base-Llama--3%208B-black?style=for-the-badge)
60
+ ![Weights](https://img.shields.io/badge/Weights-Merged-black?style=for-the-badge)
61
+ ![Ready](https://img.shields.io/badge/GGUF-Ready-black?style=for-the-badge)
 
62
 
63
  </p>
64
 
65
  ---
66
 
67
+ ## Why HumanFlow Exists
68
 
69
+ Most AI-generated writing is easy to spot.
70
 
71
+ It often sounds stiff, repetitive, emotionally flat, and structurally predictable. That hurts trust, lowers engagement, and makes content feel artificial.
72
 
73
+ **HumanFlow-Llama3-8B** was built to solve this problem.
74
 
75
+ It transforms robotic AI text into writing that reads naturally, flows smoothly, and sounds human—while preserving the original meaning.
76
 
77
  ---
78
 
79
  ## Quick Stats
80
 
81
+ | Metric | Value |
82
+ |---|---|
83
+ | Human-like Score | 99% |
84
+ | Base Model | Llama-3 8B |
85
+ | Fine-Tuning | Unsloth + LoRA |
86
+ | Release Type | Fully Merged Weights |
87
+ | Quantization | GGUF Ready |
88
+ | License | Apache-2.0 |
89
 
90
  ---
91
 
 
94
  | Category | Value |
95
  |---|---|
96
  | Model Name | HumanFlow-Llama3-8B |
97
+ | Architecture | Transformer Decoder |
98
+ | Base Checkpoint | Meta-Llama-3-8B-Instruct |
99
+ | Training Method | Supervised Fine-Tuning |
100
+ | Adapter Method | LoRA |
101
+ | Merge Status | Fully Merged |
102
+ | Primary Use | AI Text Humanization |
103
+ | Inference | Transformers / vLLM / GGUF |
 
 
104
 
105
  ---
106
 
107
  ## Before vs After
108
 
109
+ ### Example 1 — Marketing Copy
110
 
111
+ **Input**
112
+ Our platform provides innovative solutions that maximize productivity and efficiency.
113
 
114
+ **Output**
115
+ Our platform helps people work faster and smarter with tools that make everyday tasks easier.
116
 
117
  ---
118
 
119
+ ### Example 2 — Student Writing
120
 
121
+ **Input**
122
+ Climate change is a significant issue requiring immediate international cooperation.
123
 
124
+ **Output**
125
+ Climate change is a serious global challenge, and solving it will require countries to act together now.
126
 
127
  ---
128
 
129
+ ### Example 3 — Email Rewrite
130
 
131
+ **Input**
132
+ I am writing this email to inform you that the requested document has been attached.
133
 
134
+ **Output**
135
+ Just letting you know I’ve attached the document you requested.
136
 
137
  ---
138
 
139
+ ## Built For
 
 
140
 
141
+ - SEO agencies improving readability
142
+ - Content teams polishing drafts
143
+ - Students improving natural tone
144
+ - Developers integrating rewrite pipelines
145
+ - Startup founders refining copy
146
+ - Chatbots with better responses
147
+ - Email automation workflows
148
+ - Social media content teams
149
 
150
  ---
151
 
152
  ## Evaluation
153
 
154
+ Automated benchmark results measured at **temperature = 0.7**
155
 
156
  | Metric | Value | Interpretation |
157
  |--------|-------|----------------|
 
160
  | Perplexity | 1.5242 | High fluency and coherence |
161
  | Text Overlap | 0.0528 | Minimal lexical copying |
162
 
163
+ These results indicate HumanFlow preserves meaning while actively regenerating more natural phrasing.
164
 
165
  ---
166
 
 
170
  from transformers import AutoTokenizer, AutoModelForCausalLM
171
  import torch
172
 
173
+ model_id = "randhir302/HumanFlow-Llama3-8B"
174
 
175
  tokenizer = AutoTokenizer.from_pretrained(model_id)
176
  model = AutoModelForCausalLM.from_pretrained(
 
180
  )
181
 
182
  prompt = """
183
+ Rewrite this text naturally:
184
 
 
185
  The company offers innovative solutions that optimize workflow efficiency.
186
  """
187
 
 
194
  top_p=0.9
195
  )
196
 
197
+ print(tokenizer.decode(outputs[0], skip_special_tokens=True))