Toggle navigation
Toggle navigation
This project
Loading...
Sign in
万朱浩
/
Venue-Ops
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
戒酒的李白
2025-08-16 22:42:13 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
690221df2948158114f52038b70a53e7c517a091
690221df
1 parent
c5c53077
Update gitignore
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
.gitignore
WeiboSentiment_SmallQwen/qwen3_lora_universal.py
.gitignore
View file @
690221d
...
...
@@ -333,3 +333,6 @@ test_results/
.hg/
.cursor/
# Ai操作指引文件
OperationGuidance/
\ No newline at end of file
...
...
WeiboSentiment_SmallQwen/qwen3_lora_universal.py
View file @
690221d
...
...
@@ -139,6 +139,7 @@ class Qwen3LoRAUniversal(BaseQwenModel):
instruction
=
f
"请分析以下微博文本的情感倾向,回答'正面'或'负面'。
\n\n
文本:{text}
\n\n
情感:"
response
=
sentiment
# 组合成完整的训练文本
full_text
=
f
"{instruction}{response}{self.tokenizer.eos_token}"
...
...
Please
register
or
login
to post a comment