Comments (3)
The 'perl' might just be part of the Markdown. GitHub supports that, too, so let me demonstrate:
```perl
print "Hello World\n";
```
is displayed as:
print "Hello World\n";
Note the colours, that's basically all it does.
So maybe the output of the model is triple backticks followed by 'perl' and the box doesn't know how to format that. The problem here is of course that it should be 'posh' or 'powershell' or something. So basically, I think the model is misbehaving.
Can you start fresh and regenerate the response a few times? Does it always happen?
Edit: Looks like neither PowerShell nor Perl have syntax highlighters yet. See here:
gpt4all/gpt4all-chat/responsetext.cpp
Lines 11 to 24 in 9c23d44
from gpt4all.
Yeah I'm familiar with the syntax highlighting capability in GitHub, and similar platforms. I kinda figured the issue might be related to that. 😆
I re-opened the app and tried a couple more examples.
At least this time, the language is correct, but it's still not rendering it properly.
The same problem exists with Rust code blocks, too.
from gpt4all.
Right. So the problem you've brought up first (mismatch) was just the model giving bad responses.
As you can see in the edit I made, and if you follow the link to responsetext.cpp, there aren't any syntax highlighters for these three languages yet.
Maybe you want to turn this issue in a feature request for PowerShell, Rust and possibly Perl?
from gpt4all.
Related Issues (20)
- Download of models stuck HOT 1
- Unable to set the max context limit HOT 2
- dolphin-2.9.2-qwen2-72b-gguf, Cannot run, cannot use, error HOT 1
- Screen Turns Black Intermittently When Opening GPT4all on Desktop HOT 1
- [Feature] flathub verified HOT 1
- Crashes when indexing RAG HOT 2
- GPT4All version inconsistency in winget upgrade on Windows HOT 8
- [Feature] Support for Linux ARM64 HOT 1
- [Feature] Custom stopping word list HOT 2
- [Feature] GPU support for GPT-J HOT 3
- [Feature] Search via CTRL+F in references (context) for LocalDocs HOT 1
- GPT-J models fail to load unless device is set to "CPU" HOT 2
- [Feature] User-configurable stop sequences HOT 1
- Documentation for build the project from source code HOT 1
- How come GLM-4-9b is not supported yet? HOT 1
- Multithreaded app/concurrent generation requests - Thread 4 "python3" received signal SIGSEGV, Segmentation fault. HOT 5
- Error during installation process (gpt4all) ... missing d3dcompiler_47.dll HOT 1
- [Feature] Saving default model settings HOT 1
- Not accepting ChatGTP-4 API key
- Answers containing code are unreadable with light theme
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 gpt4all.