Giter Club home page Giter Club logo

verbaflow's People

Contributors

marco-nicola avatar matteo-grella avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar

verbaflow's Issues

Memory climbs to >12GB while converting

Memory climbs to >12GB using: ./verbaflow -model-dir models/nlpodyssey/RWKV-4-Pile-1B5-Instruct convert before being killed by OS (out of memory).
Is this normal?

Thanks for your contributions :)

issue building as per instructions.

`
Jays-iMac-Pro:verbaflow jay.binks$ go build ./cmd/verbaflow

github.com/nlpodyssey/rwkv

../../go/pkg/mod/github.com/nlpodyssey/[email protected]/layer.go:16:14: undefined: ag.Scalar
../../go/pkg/mod/github.com/nlpodyssey/[email protected]/rwkv.go:51:28: undefined: ag.Scalar
../../go/pkg/mod/github.com/nlpodyssey/[email protected]/rwkv.go:76:35: undefined: ag.Scalar
../../go/pkg/mod/github.com/nlpodyssey/[email protected]/state.go:28:14: undefined: ag.Var
../../go/pkg/mod/github.com/nlpodyssey/[email protected]/state.go:29:14: undefined: ag.Var
../../go/pkg/mod/github.com/nlpodyssey/[email protected]/state.go:30:14: undefined: ag.Var
../../go/pkg/mod/github.com/nlpodyssey/[email protected]/state.go:31:14: undefined: ag.Var
../../go/pkg/mod/github.com/nlpodyssey/[email protected]/state.go:32:14: undefined: ag.Var
`

class not found: torch BFloat16Storage

Hi

I cloned the repo and ran ./verbaflow convert rwkv-4-pile-1b5-instruct/ after downloading the model, but it fails:

1:08PM DBG Converting model in dir: rwkv-4-pile-1b5-instruct/
1:08PM FTL error="class not found: torch BFloat16Storage"

Any ideas?

Chinese output is garbled!

First of all, thank you for providing such a great open source project! I tried the default model in the README, everything is OK, except when I want the model to output Chinese. The output is garbled.


macos
go 1.20

4:12PM TRC Input: "\nQ: 中文会不会?\n\nA:"
4:12PM TRC Building prompt from template: "{{.Text}}"
4:12PM TRC Input fields: {Text:
Q: 中文会不会?

A: Question: TargetLanguage:}
4:12PM TRC Final prompt: "\nQ: 中文会不会?\n\nA:"
ä¸įä¼ļ4:13PM DBG Done.
^^^^^^^

Slow prompt response time

After following the instructions in the README to download, convert, and format the model, running a prompt would take an incredibly long time, often waiting a few minutes at a time per word. I'm using a 2021 M1 Pro for context. Should it be this slow?

3 Billion Model is throwing error

1.5 billion model works as intended. But 3 billion model refuses to convert on my system.

(mps) ➜  verbaflow git:(main) ✗ ./verbaflow -model-dir models/nlpodyssey/rwkv-4-pile-3b-instruct download
(mps) ➜  verbaflow git:(main) ✗ ./verbaflow -model-dir models/nlpodyssey/rwkv-4-pile-3b-instruct convert
5:28PM FTL error="model conversion failed: failed to convert embeddings: only BFloat16Storage is supported, actual *pytorch.FloatStorage"

Similarly, 1.5 billion model works well with original BlinkDL/RWKV-LM code, but 3 billion model throws dimension mismatch error. Is current 3B model working correctly at your end ?

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.