Update reader.py
This commit is contained in:
parent
5960879814
commit
c8c2e95069
1 changed files with 2 additions and 2 deletions
|
@ -1,11 +1,11 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
import sys
|
import sys
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
from gguf.gguf_reader import GGUFReader
|
||||||
|
|
||||||
|
|
||||||
sys.path.insert(0, str(Path(__file__).parent.parent))
|
sys.path.insert(0, str(Path(__file__).parent.parent))
|
||||||
|
|
||||||
from gguf.gguf_reader import GGUFReader
|
|
||||||
|
|
||||||
def read_gguf_file(gguf_file_path):
|
def read_gguf_file(gguf_file_path):
|
||||||
"""
|
"""
|
||||||
Reads and prints key-value pairs and tensor information from a GGUF file in an improved format.
|
Reads and prints key-value pairs and tensor information from a GGUF file in an improved format.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue