- Update and install OpenSSH server:
sudo apt update sudo apt install openssh-server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"speaker": "Agent", | |
"text": "Thank you for contacting AutoCare Services, how may I assist you today?", | |
"function_calling": false | |
}, | |
{ | |
"speaker": "Customer", | |
"text": "Hi, I need to schedule a maintenance appointment for my car.", | |
"function_calling": false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from faster_whisper import WhisperModel, BatchedInferencePipeline | |
import wave | |
from mutagen import File | |
from datetime import datetime, timedelta | |
import time | |
model =WhisperModel("deepdml/faster-whisper-large-v3-turbo-ct2", device="cuda", compute_type="float16") | |
batched_model = BatchedInferencePipeline(model=model) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import torch | |
import os | |
import logging | |
from pyannote.audio import Pipeline | |
from pydub import AudioSegment | |
# Usage | |
input_folder = "absolute path of input folder" | |
output_folder = "absolute path of output folder" | |
HF_TOKEN = "" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdlib.h> | |
#include <stdio.h> | |
typedef struct { | |
size_t rows; | |
size_t columns; | |
float **data; | |
} Mat; | |
Mat mat_alloc(size_t rows, size_t columns) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
qdrant: | |
image: qdrant/qdrant:v1.3.0 | |
restart: on-failure | |
ports: | |
- "6333:6333" | |
volumes: | |
- ./data/vectordb:/qdrant/storage |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
qdrant: | |
image: qdrant/qdrant:v1.3.0 | |
restart: on-failure | |
ports: | |
- "6333:6333" | |
- "6334:6334" | |
volumes: | |
- ./data/vectordb:/qdrant/storage |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Bootstrap --> | |
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet"> | |
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script> | |
<!-- Font Awesome --> | |
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet"> | |
<!-- Bootlint--> | |
<script src="//maxcdn.bootstrapcdn.com/bootlint/0.11.0/bootlint.min.js"></script> |