Giter VIP home page Giter VIP logo

Comments (9)

kyakuno avatar kyakuno commented on May 26, 2024

Elyzaについて
https://note.com/elyza/n/na405acaca130

from ailia-models.

kyakuno avatar kyakuno commented on May 26, 2024

Llama2のONNX変換
https://github.com/microsoft/Llama-2-Onnx

from ailia-models.

kyakuno avatar kyakuno commented on May 26, 2024

Elyzaをllama-2-onnxで変換して推論するサンプルを作る。

from ailia-models.

kyakuno avatar kyakuno commented on May 26, 2024

FP16でエクスポートする。7bで14GBになるはず。

from ailia-models.

YToleubay avatar YToleubay commented on May 26, 2024

Llama2 ONNX conversion https://github.com/microsoft/Llama-2-Onnx

@kyakuno san do you have access? I applied yesterday, but I still have not received access. Following says that access is provided within the next 48 hours

The sub-modules that contain the ONNX files in this repository are access controlled. To get access permissions to the Llama 2 model, please fill out the Llama 2 ONNX sign up page. If allowable, you will receive GitHub access in the next 48 hours, but usually much sooner.

from ailia-models.

YToleubay avatar YToleubay commented on May 26, 2024

This is command: クマが海辺に行ってアザラシと友達になり、最終的には家に帰るというプロットの短編小説を書いてください
This is output of the pytorch model with torch.float16 precision:

_クマは、毎日のように海辺に行っていた。
そこでは、アザラシが泳いでいた。
クマは、アザラシと友達になりたいと思っていた。
そして、その日がやってきた。
クマは、アザラシに話しかけた。
「アザラシ、お前はどこから来たのだ?」
「私は、ここから来ました。」
「そうか。
それで、どうしてここにいるのだ?」
「私は、ここにいるのです。」
「そうか。
それで、お前は、どうして私と友達になりたいと思ったのだ?」
「私は、私の家に帰りたいのです。」
「そうか。
それで、お前は、どうして_

This is output of the onnx model:

クマは、毎日のように海辺に行っていた。
そこでは、アザラシが泳いでいた。
クマは、アザラシと友達になりたいと思っていた。
そして、その日がやってきた。
クマは、アザラシに話しかけた。
「アザラシ、お前はどこから来たのだ?」
「私は、ここから来ました。」
「そうか。
それで、どうしてここにいるのだ?」
「私は、ここにいるのです。」
「そうか。
それで、お前は、どうして私と友達になりたいと思ったのだ?」
「私は、私の家に帰りたいのです。」
「そうか。
それで、お前は、どうして

from ailia-models.

kyakuno avatar kyakuno commented on May 26, 2024

@YToleubay It's very good result. Please create sample script and please give me PR.

from ailia-models.

YToleubay avatar YToleubay commented on May 26, 2024

@YToleubay It's very good result. Please create sample script and please give me PR.

@kyakuno when I am trying to run it with ailia model shows error : ailia.core.Ailia UnimplementedException: code: -15 (This function is not implemented.) + error detail : Tensors with data location set to other than DEFAULT is not supported.

I think problem is related to onnx_data file. It is around 9GB. Should I partition the model?

from ailia-models.

kyakuno avatar kyakuno commented on May 26, 2024

ailia SDK 1.2.16 will supports external pb. So please use internal release of 1.2.16. I will share you via slack.

from ailia-models.

Related Issues (20)

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.