Ask-sola

Results 8 comments of Ask-sola

Hello, I would like to ask, has this problem been solved, or is this project actually not working through?

我自己改了一下代码,在每次爬取的时候将两者关系记录一下就可以了,楼主可以在write_to_txt处进行修改: def write_to_txt(self): with open('user_id_list.txt', 'ab') as f: for user in self.follow_list: f.write((user['uri'] + ' ' + user['nickname'] + '\n').encode( sys.stdout.encoding)) with open('user_relations.txt', 'ab') as f: for user in self.follow_list:...

Hello, I encountered exactly the same issue as him. I am running the script from example/finetune.ipynb without any modifications. However, I am getting the following error as well. ![image](https://github.com/user-attachments/assets/54f09f1b-3e4f-4a90-83b4-7baff7fbbdc9)

Besides this issue, there seems to be another problem: ![image](https://github.com/user-attachments/assets/13e901ea-85da-4dc5-b2c3-a49128ee83a7)

Strangely, when I tried to implement it on another machine, it succeeded. The only difference between the two machines is that on the failing machine, I used the mirror hf-mirror.com...

> 您使用的是哪个数据集? I am using the dataset provided in `finetune.ipynb`: ! wget https://hf-mirror.com/datasets/urchade/synthetic-pii-ner-mistral-v1/resolve/main/data.json What’s even stranger is that even when I load the data using the following function, with the...

The same dataset, the same code, and the same Python version yield different results when executed on different machines. The only difference might be that the machine where it fails...

> @Ask-sola > > > yield different results when executed on different machines > > What are the hardware differences between the two machines? Are they also using the same...