Comments (8)
ollama list
NAME ID SIZE MODIFIED
codellama:latest 36893bf9bc7f 3.8 GB 4 hours ago
wizardcoder:34b-python 1064f08e84a4 19 GB About an hour ago
from continue.
Could you share the contents of the Ollama class in your config.py?
from continue.
from continuedev.src.continuedev.core.models import Models
from continuedev.src.continuedev.core.config import CustomCommand, SlashCommand, ContinueConfig
from continuedev.src.continuedev.plugins.context_providers.github import GitHubIssuesContextProvider
from continuedev.src.continuedev.libs.llm.maybe_proxy_openai import MaybeProxyOpenAI
from continuedev.src.continuedev.plugins.steps.open_config import OpenConfigStep
from continuedev.src.continuedev.plugins.steps.clear_history import ClearHistoryStep
from continuedev.src.continuedev.plugins.steps.feedback import FeedbackStep
from continuedev.src.continuedev.plugins.steps.comment_code import CommentCodeStep
from continuedev.src.continuedev.plugins.steps.share_session import ShareSessionStep
from continuedev.src.continuedev.plugins.steps.main import EditHighlightedCodeStep
from continuedev.src.continuedev.plugins.context_providers.search import SearchContextProvider
from continuedev.src.continuedev.plugins.context_providers.diff import DiffContextProvider
from continuedev.src.continuedev.plugins.context_providers.url import URLContextProvider
from continuedev.src.continuedev.plugins.context_providers.terminal import TerminalContextProvider
from continuedev.src.continuedev.libs.llm.ollama import Ollama
config = ContinueConfig(
allow_anonymous_telemetry=False,
models=Models(
default=Ollama(model="wizardcoder:34b-python")
),
system_message="",
temperature=0.5,
custom_commands=[
CustomCommand(
name="test",
description="Write unit tests for the higlighted code",
prompt="Write a comprehensive set of unit tests for the selected code. It should setup, run tests that check for correctness including important edge cases, and teardown. Ensure that the tests are complete and sophisticated. Give the tests just as chat output, don't edit any file.",
)
],
slash_commands=[
SlashCommand(
name="edit",
description="Edit code in the current file or the highlighted code",
step=EditHighlightedCodeStep,
),
SlashCommand(
name="config",
description="Customize Continue - slash commands, LLMs, system message, etc.",
step=OpenConfigStep,
),
SlashCommand(
name="comment",
description="Write comments for the current file or highlighted code",
step=CommentCodeStep,
),
SlashCommand(
name="feedback",
description="Send feedback to improve Continue",
step=FeedbackStep,
),
SlashCommand(
name="clear",
description="Clear step history",
step=ClearHistoryStep,
),
SlashCommand(
name="share",
description="Download and share the session transcript",
step=ShareSessionStep,
)
],
context_providers=[
# GitHubIssuesContextProvider(
# repo_name="/",
# auth_token=""
# ),
SearchContextProvider(),
DiffContextProvider(),
URLContextProvider(
preset_urls = [
# Add any common urls you reference here so they appear in autocomplete
]
),
TerminalContextProvider(),
],
)
from continue.
Thanks. I'll try this exact setup on my own machine to see if I can reproduce. The first thing I would check is that you've pulled the model you are using, but I'm quite confident you already know to do this. I'll give an update soon
from continue.
From one of the ollama founders, it sounds like they are having issues with 34b models with long context inputs.
I'm wondering whether the first message you send (when chat history is empty, or right after loading ollama) might work, while later messages don't because of the built up context. Unfortunately I don't have the hardware to test this on my own with a 34b
Another thing would be to test with a smaller model and see if the same issue occurs (I've seen great consistency with 7b models)
from continue.
From one of the ollama founders, it sounds like they are having issues with 34b models with long context inputs.
This is probably true. I see this aswell. Yeah I'll try a smaller model. Any special you recommend?
from continue.
I've been seeing really great results from codellama:13b-instruct, with the instruct part being crucial. Even 7b is decent
from continue.
I'm going to close this issue since it seems mostly resolved, but you're feel free to reopen if something is still wrong. Let me know if you have any more questions about models to use!
from continue.
Related Issues (20)
- Accepting diff breaks language server, need to reload file HOT 1
- Extension does not start HOT 26
- ValueError path is on mount 'd:', start on mount 'C:' HOT 3
- ollama is killed and restart at each prompre HOT 7
- Can't open backstage template files, i.e. skeleton\packages\${{ values.name }}.ts HOT 4
- /config does not open the config file HOT 1
- Hope to adapt jetbrains tools soon! HOT 3
- All UI controls in the tool window are disabled HOT 14
- [CON-213] Can't copy Continue text to clipboard on Windows HOT 1
- was having a REAL bad time! **imports on default config are bad** HOT 4
- JetBrains plugins cannot be used in an offline environment HOT 16
- Change "Async Timeout" for local models HOT 14
- Make the model selector combo box wider HOT 14
- Manually run server undetected on WSL HOT 3
- Continue is failing to start in Visual Studio HOT 9
- Link broken to default config.py HOT 1
- PostHog API Key Leaked HOT 3
- UnboundLocalError: local variable 'delta' referenced before assignment HOT 4
- /edit always tries to edit the first linked file you added with Ctrl+M HOT 3
- [CON-214] Error running binary in Intellij (PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from continue.