ZNF

Results 10 comments of ZNF

``` import stanza sentence = "香港理工大学校长滕锦光表示,任何情况下暴力都不是解决问题的方法。" stanza.download('zh') nlp_ch = stanza.Pipeline('zh') doc = nlp_ch(sentence) print(doc) print(doc.entities) ``` ``` Exception has occurred: SSLError HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /stanfordnlp/stanza-resources/main/resources_1.3.0.json (Caused...

> 这两种方法在使用字符串后是否需要删除字符串指针,如不,是否会造成内存泄漏?

> 已经用[https://github.com/yanyiwu/cjieba的C语言接口做好DLL了,这里可以下载http://download.csdn.net/download/k39k39/10223492](https://github.com/yanyiwu/cjieba%E7%9A%84C%E8%AF%AD%E8%A8%80%E6%8E%A5%E5%8F%A3%E5%81%9A%E5%A5%BDDLL%E4%BA%86%EF%BC%8C%E8%BF%99%E9%87%8C%E5%8F%AF%E4%BB%A5%E4%B8%8B%E8%BD%BDhttp://download.csdn.net/download/k39k39/10223492) > > 现在有一个问题,如果词库较大,初始化加载容易报错,不知道怎么解决。 CSDN上还要缴费,请问这个是开源的吗,能在github上分享一下吗,十分感谢

> Hi, @tikitong sorry to bother you, where did you import` "weights/prior_config.json" and "prior_latest.pth"` ? I tried to download them from https://huggingface.co/laion/DALLE2-PyTorch/tree/main/prior and https://huggingface.co/laion/DALLE2-PyTorch/tree/main/decoder/v1.0.2 However, it shows error in ```...

> Possible to use cuda 11.7? there's other services that require 11.7 Is it possible to use vllm in cuda 11.7 ? I tried `pip install vllm` in an conda...

If input is a list includes dicts like, `[{"image": tensor , "height": , "width": },{"image": tensor , "height": , "width": },]` What kind of input can convert to args in...

> I meet the same problem, do you find the answer? Hi, adding `"default_sample_timesteps": [100], ` after `"default_cond_scale": [1.7],` in gradio.example.json can adjust the sample_timesteps of decoder.

I have solved this problem by updating transformers version,` pip install transformers==4.48.3 ` if your python version is 3.10.