上传文件至 /

This commit is contained in:
2026-06-23 11:17:14 +08:00
parent 0bae8e0060
commit 472b7916a1
2 changed files with 9 additions and 0 deletions

View File

@@ -32,3 +32,5 @@ for row in rows:
movies.append(movie) movies.append(movie)
with open("movies.json", "w", encoding="utf-8") as f: with open("movies.json", "w", encoding="utf-8") as f:
json.dump({"data_id": 1, "movies": movies}, f, ensure_ascii=False, indent=4) json.dump({"data_id": 1, "movies": movies}, f, ensure_ascii=False, indent=4)
#数据标注要下载pip install label-studio
# 第二步打开 label-studio start

7
reviews.json Normal file
View File

@@ -0,0 +1,7 @@
[
{"id": 1, "text": "外卖小哥送得超快,餐盒还是热的,炸鸡酥脆多汁,酸辣粉也很正宗,分量足,五星好评!"},
{"id": 2, "text": "等了一个半小时才送到,汤全洒了,面坨成一坨,联系客服也不回,太让人失望了。"},
{"id": 3, "text": "奶茶是用料很扎实的现煮茶珍珠Q弹有嚼劲配送员态度也好下次还会再点。"},
{"id": 4, "text": "配送速度一般,但披萨味道不错,芝士拉丝效果好,性价比高,值得推荐。"},
{"id": 5, "text": "点的麻辣烫食材不新鲜,有股怪味,吃完拉肚子,商家推卸责任,再也不点了。"}
]