Nick

Results 7 issues of Nick

Your tutorials are too good to be true, will u finish this text classification tutorial? I really enjoy reading your repo!

The way you write code is really hard to understand... why write in this way... is your project in work written in this way too? what's the benifit~, just curious~~

https://github.com/microsoft/DeepSpeedExamples/blob/cd19b3bf1e5b60dd73b09c7463da4eedada1eed7/applications/DeepSpeed-Chat/training/step1_supervised_finetuning/main.py#L234 there are two parameters in DistributedSampler ```python num_replicas (int, optional): Number of processes participating in distributed training. By default, :attr:`world_size` is retrieved from the current distributed group. rank (int,...

have no idea, just install langchain and run code below, the error popup, any idea? ```python from langchain.document_loaders import UnstructuredPDFLoader, OnlinePDFLoader, UnstructuredImageLoader from langchain.text_splitter import RecursiveCharacterTextSplitter --------------------------------------------------------------------------- ImportError Traceback (most...

### Feature request support other metrics in faiss except Euclidean distance ### Motivation the code in faiss had only supprt euclidean distance, like code below index = faiss.IndexFlatL2(len(embeddings[0])) ```python @classmethod...

https://github.com/pytorch/examples/blob/c67bbaba018d438447036c114133c6ad6c4f78b1/distributed/minGPT-ddp/mingpt/trainer.py#L103 according to [this link](https://pytorch.org/docs/stable/amp.html#torch.cuda.amp.GradScaler.unscale_) , we should add unscale before it when we need to [modify or inspect gradients](https://pytorch.org/docs/stable/notes/amp_examples.html#working-with-unscaled-gradients)

**Python 版本:** 3.8 **运行环境:** Linux --- 我每天大概获取100次字幕,大概12后发现所有视频都无法获取字幕,第一次删除cookie后再用新的发现可以看到字幕了,后面这招也不管用了(PS:非登录状态下可以看到字幕),请问怎么解决这个问题

question
need debug info