Coder Social home page Coder Social logo

mgeoexample's People

Contributors

bcol23 avatar phantomgrapes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mgeoexample's Issues

关于Query-Poi任务数据量大的问题

您好,在给出的示例中是输入一条query然后返回3个待选地址的相似度,但是实际应用中待选地址是一个很大的地址库,比如有十几万待选地址,这样的话推理起来往往造成内存溢出,想问这种情况需要怎么做,期待您的回复,谢谢

模型比较地址相似度BUG ~ CUDA error

您好,我在运行模型比较地址相似度代码的时候出现了cuda问题,能否帮我检查一下这个问题应该怎样解决?
代码:
from modelscope.pipelines import pipeline
from modelscope.utils.constant import Tasks

task = Tasks.sentence_similarity
model = 'damo/mgeo_geographic_entity_alignment_chinese_base'
inputs = ('紫萱路363号人力社保局', '紫萱路363号市人社局')
pipeline_ins = pipeline(task=task, model=model, model_revision='v1.2.0')
print(pipeline_ins(input=inputs)) (报错位置)
运行环境:
docker
pyhton = 3.7
(其余配置与文章中所提到的配置完全相同)

模型可以顺利加载,但是在运行的时候出现了问题。
报错信息:
RuntimeError: CUDA error: no kernel image is available for execution on the device
CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.

请问是否有计划发布Query-POI match的recall任务的权重?

你好,非常感谢你们的优秀工作,填补了此领域公开benchmark以及预训练权重的稀缺。

但我有一点疑惑:在尝试做POI retrieval的任务时,我没有在仓库中看到用于recall任务的MGeo预训练权重(注明年后发布的recall任务数据集似乎是已经发布了)。其他五个任务的模型都提供了下载。我想请问是否是我的疏漏?

如果你们的确没有提供recall任务相关,请问你们是否有计划发布这一预训练权重呢?如果不能,我怎样做才能复现论文中的对应结果?

再次感谢!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.