@joelrd01/llama-cpp-qwen2.5-0.5b-shard-13 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +31 -0
- package/qwen2.5:0.5b-00013-of-00030.gguf +0 -0
- package/sync.js +20 -0
package/package.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@joelrd01/llama-cpp-qwen2.5-0.5b-shard-13",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Shard 13 of Qwen2.5-0.5b",
|
|
5
|
+
"main": "sync.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"postinstall": "node sync.js"
|
|
8
|
+
},
|
|
9
|
+
"keywords": [
|
|
10
|
+
"llama",
|
|
11
|
+
"llama-cpp",
|
|
12
|
+
"qwen",
|
|
13
|
+
"qwen2.5",
|
|
14
|
+
"model",
|
|
15
|
+
"gguf",
|
|
16
|
+
"shard"
|
|
17
|
+
],
|
|
18
|
+
"author": "",
|
|
19
|
+
"license": "ISC",
|
|
20
|
+
"engines": {
|
|
21
|
+
"node": ">=14.0.0"
|
|
22
|
+
},
|
|
23
|
+
"files": [
|
|
24
|
+
"sync.js",
|
|
25
|
+
"*.gguf"
|
|
26
|
+
],
|
|
27
|
+
"repository": {
|
|
28
|
+
"type": "git",
|
|
29
|
+
"url": "git+https://github.com/user/project.git"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
Binary file
|
package/sync.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
|
|
2
|
+
const fs = require('fs');
|
|
3
|
+
const path = require('path');
|
|
4
|
+
|
|
5
|
+
const TARGET_DIR_NAME = 'qwen2.5:0.5b';
|
|
6
|
+
const SHARD_FILE = 'qwen2.5:0.5b-00013-of-00030.gguf';
|
|
7
|
+
|
|
8
|
+
// Path relative to node_modules/pkg/sync.js
|
|
9
|
+
const projectRoot = path.join(__dirname, '../../..');
|
|
10
|
+
const targetPath = path.join(projectRoot, TARGET_DIR_NAME);
|
|
11
|
+
|
|
12
|
+
if (!fs.existsSync(targetPath)) {
|
|
13
|
+
fs.mkdirSync(targetPath, { recursive: true });
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
fs.copyFileSync(
|
|
17
|
+
path.join(__dirname, SHARD_FILE),
|
|
18
|
+
path.join(targetPath, SHARD_FILE)
|
|
19
|
+
);
|
|
20
|
+
console.log('Sincronizado: ' + SHARD_FILE + ' en ' + targetPath);
|