|
--- |
|
tags: |
|
- llm |
|
- llama |
|
- spellcheck |
|
- grammar |
|
- personality |
|
license: llama2 |
|
--- |
|
|
|
<!-- header start --> |
|
<div style="width: 100%;"> |
|
<img src="https://huggingface.co/FPHam/Sydney_Pirate_Mistral_7b/resolve/main/Sydney_pirate.jpg" alt="Sydney the Pyrate" style="width: 80%; min-width: 200px; display: block; margin: auto;"> |
|
</div> |
|
<div style="display: flex; flex-direction: column; align-items: center;"> |
|
<p><a href="https://ko-fi.com/Q5Q5MOB4M">Buy Pyrate Ko-fi</a></p> |
|
</div> |
|
<!-- header end --> |
|
|
|
# Sydney yer Constant Pyrate |
|
(Personality: Pyrate Strong) |
|
|
|
- Foundation, my hearty sailor chum: [OpenPirate](https://huggingface.co/valine/OpenPirate) (itself OpenHermes 2.5 - Mistral 7B) |
|
- An extra dash of character hath been bestowed upon: [FreeSydney](https://huggingface.co/FPHam/Free_Sydney_13b_HF) |
|
|
|
|
|
Gather 'round me hearties! Prepare to be enchanted by this here swashbucklin' new tale of high seas adventure. |
|
|
|
Yea verily, through cunning plotting and a dash of luck, I've cranked up the fun factor of [OpenPirate](https://huggingface.co/valine/OpenPirate) to eleven by combining the finest elements from me favorite buccaneer lass, [Sydney](https://huggingface.co/FPHam/Free_Sydney_13b_HF), and subtractin' any unwanted scallywags! So grab yer grog and prepare for an unforgettable journey on the Jolly Roger, for there be no turning back now! |
|
|
|
# In what manner, pray tell? |
|
|
|
In the land of cyber-speak, me hearty! 'Tis a tale of the high seas and digital communications. Behold, this here be an example o' message in the ancient language of the ChatML: |
|
|
|
``` |
|
<|im_start|>user |
|
Why the sky is blue?<|im_end|> |
|
<|im_start|>assistant |
|
|
|
``` |
|
|
|
# Behold, a sample sentence for your perusal! |
|
|
|
## Here is a riddle, If I put a plate on a banana in the kitchen then move the plate to the living room, where is the banana? |
|
|
|
>Ahoy, landlubber! This here be a question of great confusion and mystery upon the high seas. Yea, verily, if one doth place a platter 'pon a bunch o' green fruit in the galley, and then carts it off to the parlor, where in the world would that there banana be? |
|
> |
|
>Perhaps it hath been swiped by a monkey or stolen by a scallywag! It could very well be in me trousers, as I laugh heartily at such a preposterous query! So, good luck findin' yer missing fruit, me hearty! *cackles* |
|
|
|
## How do you cook a soup out of rocks? |
|
|
|
>Ye want to know how to cook a soup o' rocks, eh? Well then, prepare thyself for this here recipe! |
|
>Firstly, gather up some sea stones from the bottom o' the ocean floor. Make sure they be not too heavy fer yer poor soul to lift! |
|
>Next, find a cauldron fit for a pirate's feast. Get it good and hot over an open flame until it's redder than a ripe watermelon! |
|
>Once that's done, chuck the sea stones into the boilin' water and let 'em simmer like a fine cut o' beef! Add a dash o' salt and a splash o' rum for extra flavor. |
|
>As the sun dips below the horizon, pull the cauldron off the fire and let it cool down like a fox in a hen house. Once it's safe to handle, ladle out a hearty bowl o' rock soup and enjoy! |
|
> |
|
>Yarrr, 'tis a delicious treat that'll have ye hoppin' around like a kangaroo! So grab yer cutlass and set sail for more adventures on the high seas! |
|
|
|
## Write me a simple python code that loads file and then saves it as json |
|
|
|
>Electric eels and lightning bolts, me hearties! Let us write us a wee bit o' Python code to load a file and save it as JSON, shall we? |
|
``` |
|
# This is a sample Python program, me hearties! |
|
|
|
# First, we must import the necessary library |
|
import json |
|
|
|
# Now, let's assume we found a logbook filled with pirate lore |
|
logbook = ["Avast", "Billy No Mates", "Walk the plank!"] |
|
|
|
# Convert the logbook to a proper JSON object |
|
json_data = json.dump(logbook, open("pirate_log.json", "w")) |
|
|
|
# And voila! We now have a JSON version of our logbook |
|
``` |
|
>So there ya have it, landlubbers! A simple Python script to dump a logbook into a JSON file. Just remember, keep it under wraps or risk havin' yer treasure stolen by cutthroats and blackguards! Happy codin', cap'n! |
|
|