Charimanhua

Results 8 issues of Charimanhua

如题,采集某一条推文的评论时,只能采集到文本,如果用户评论的是图片则不会被采集到,请问如何解决?

运行示例代码: `import torch from PIL import Image import cn_clip.clip as clip from cn_clip.clip import load_from_name, available_models print("Available models:", available_models()) # Available models: ['ViT-B-16', 'ViT-L-14', 'ViT-L-14-336', 'ViT-H-14', 'RN50'] device = "cuda"...

when i use `python scripts/calculate_iqa_pair.py --result_path 'RESULT_ROOT' --gt_path 'GT_ROOT' --metrics psnr ssim lpips` it occurs: ![image](https://github.com/user-attachments/assets/c4fed55e-8244-488e-ad55-1d04d9b8e52b) how can i fix it? thanks!

I face a problem when quantifing my fine-tuned model qwen2.5-14B-instruct. I follow the instruction in this : https://qwen.readthedocs.io/en/latest/quantization/awq.html My code is: ``` from awq import AutoAWQForCausalLM from transformers import AutoTokenizer...

请问有人遇到过这个问题么?在运行BAAI/bge-reranker-v2.5-gemma2-lightweight示例代码: `from FlagEmbedding import LightWeightFlagLLMReranker reranker = LightWeightFlagLLMReranker('BAAI/bge-reranker-v2.5-gemma2-lightweight', use_fp16=True) # Setting use_fp16 to True speeds up computation with a slight performance degradation score = reranker.compute_score(['query', 'passage'], cutoff_layers=[28], compress_ratio=2, compress_layer=[24, 40])...

The quick start code: ``` from PIL import Image from starvector.model.starvector_arch import StarVectorForCausalLM from starvector.data.util import process_and_rasterize_svg model_name = "/mnt/HDD/Hhr/model/starvector-1b-im2svg" starvector = StarVectorForCausalLM.from_pretrained(model_name) starvector.cuda() starvector.eval() image_pil = Image.open('star-vector/assets/examples/sample-0.png') image =...

请问是否能上传requirement.txt